package com.vhall.component.entity.pendant.vo;

import com.vhall.component.framework.common.annotation.ParamName;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author guoxin.wang
 * @date 2021/10/29
 */
@Data
public class PendantSetDefaultReqVO implements Serializable {

    private static final long serialVersionUID = -1715521013188616472L;

    /**
     * 挂件id
     */
    @NotNull(message = "id参数不允许为空")
    @ParamName("id")
    private Integer id;

    /**
     * 是否是默认固定挂件，0=否，1=是
     */
    @NotNull(message = "is_default参数不允许为空")
    @ParamName("is_default")
    private Integer isDefault;

}
